app
		.filter(
				'machineFilter',
				function() {
					return function(machines, excludeOQC, conditions) {
						if (excludeOQC) {
							return generalFilter(machines, machineCallback, conditions);
						} else {
							return generalFilter(machines, generalCallback, conditions);
						}
					}
		}).filter(
				'generalFilter',
				function() {
					return function(entities, conditions) {
						return generalFilter(entities, generalCallback, conditions);
					}
		});